package typeTest;

import java.util.ArrayList;
import java.util.List;

import com.bookShop.dao.SmallTypeDao;
import com.bookShop.dao.impl.SmallTypeDaoImpl;
import com.bookShop.entity.SmallType;



public class Stest {
	public static void main(String[] args) {
		SmallTypeDao std = new SmallTypeDaoImpl();
//		SmallType smallType = new SmallType();
		List<SmallType> smallType = new ArrayList<SmallType>();
		smallType = std.selectAll();
//		smallType.setName("44");
//		smallType.setId(4);
//		smallType.setBigTypeId(4);
//		System.out.println(std.update(smallType));
		for(int i=0;i<smallType.size();i++){
			System.out.println(smallType.get(i).getName());
		}
//		System.out.println(smallType.);
//		System.out.println(std.insert(smallType));
		
	}
}
